<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>

<table border="2">
    <tr>
        <td>&nbsp;&nbsp;&nbsp;书名</td>
        <td>&nbsp;&nbsp;&nbsp;发布时间</td>
        <td>阅读量</td>
        <td>评论量</td>
        <td>操作一</td>
        <td>操作二</td>
        <td>操作三</td>
    </tr>
    {% for item in booklist %}
        <tr>
            <td>{{ item.btitle }}</td>
            <td>{{ item.bpub_date }}</td>
            <td>{{ item.bread }}</td>
            <td>{{ item.bcomment  }}</td>
            <td><a href="retrieve{{ item.id }}" target="blank">查看英雄</a></td>
            <td><a href="edit{{ item.id }}" target="blank">编辑图书</a></td>
            <td><a href="delete{{ item.id }}">删除图书</a></td>

        </tr>
    {% endfor %}
</table>
<a href="create">增加图书</a>
</body>
</html>